﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Detail.ascx.vb" Inherits="Control_BanHang_Detail" %>
<div id="view" class="BoxField"  runat="server">
    <div class="DivRow" >
        <div class="DivLabel" style="width:auto">
            <h3>THÔNG TIN ĐƠN HÀNG</h3>
        </div>
    </div>    
    <div class="DivRow" >
        
    	<div class="DivLabel" ><asp:Label ID="lblOrderid_detail" runat="server"  Text="Mã đơn hàng:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblOrderid" runat="server" text="lblOrderid" /></div>
		</div>

		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblStoreid_detail" runat="server"  Text="Cửa hàng:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblStoreid" runat="server" text="lblStoreid" /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblOrderdate_detail" runat="server"  Text="Ngày đặt:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblOrderdate" runat="server" text="lblOrderdate" /></div>
		</div>


		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblCustomername_detail" runat="server"  Text="Tên khách hàng:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblCustomername" runat="server" text="lblCustomername" /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblAddress_detail" runat="server"  Text="Địa chỉ:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblAddress" runat="server" text="lblAddress" /></div>
		</div>

		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblEmail_detail" runat="server"  Text="Email:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblEmail" runat="server" text="" /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblPhone_detail" runat="server"  Text="Phone:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblPhone" runat="server" text="lblPhone" /></div>
		</div>

		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblCreator_detail" runat="server"  Text="Người tạo đơn hàng:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblCreator" runat="server" text="lblCreator" /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblCreated_detail" runat="server"  Text="Ngày tạo:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblCreated" runat="server" text="lblCreated"  /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblModifier_detail" runat="server"  Text="Người sửa cuối:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblModifier" runat="server" text="" /></div>
		</div>
		<div class="DivRow" >
		<div class="DivLabel" ><asp:Label ID="lblModified_detail" runat="server"  Text="Lần sửa cuối:" /></div>
		<div class="DivLabel" ><asp:Label ID="lblModified" runat="server" text="" /></div>
		</div>


		

    <div style="clear:both">
    &nbsp;
    </div>

  
    <div class="HeadTitle">
        <legend><span id="clxp" style="cursor: pointer">
                <img id="imgshowhide" alt="" src="../../images/arrow_showless.gif" />Chi tiết đơn hàng</span></legend>
        <asp:GridView ID="grdShow" runat="server" AutoGenerateColumns="False" 
    EmptyDataText="{Không có dữ liệu}" Width='100%' BorderWidth="1px" 
    CssClass="GridBorder">
        <Columns>                                                          
            <asp:TemplateField HeaderText="STT">
                <ItemTemplate>
                    <asp:Label ID="lbItem" runat="server" Text="" />
                </ItemTemplate>
                <ItemStyle  HorizontalAlign="Center" Width="5%" />
            </asp:TemplateField>
            <asp:BoundField DataField='ProductCode' HeaderText='Mã sản phẩm'>
                <ItemStyle Width='10%' />
            </asp:BoundField>
            <asp:BoundField DataField='Title' HeaderText='Tên sản phẩm'>
                <ItemStyle Width='25%' />
            </asp:BoundField>
            <asp:BoundField DataField='Number' HeaderText='Số lượng' >
                <ItemStyle Width='5%' />
            </asp:BoundField>           

             <asp:BoundField DataField='GrossAmount' HeaderText='Thành tiền'  DataFormatString="{0:#,##0}">
                <ItemStyle Width='5%' />
            </asp:BoundField>      
        </Columns>
        <HeaderStyle Height="26px" HorizontalAlign="Left" CssClass="GridHeader" />
        <RowStyle CssClass="GridRow" Height="23px" />
        <AlternatingRowStyle CssClass="GridAlterRow" />
        <PagerStyle CssClass="GridPaged" HorizontalAlign="Right" Height="23px" />
        <PagerSettings Mode="Numeric" PageButtonCount="2" />
        <EmptyDataRowStyle CssClass="GridTextEmpty" HorizontalAlign="Center" />
    </asp:GridView>   				
    </div>
</div>

<div class="Total">
		<asp:Label ID="Label1" runat="server"  Text="Giá trị:" />&nbsp;<asp:Label ID="lblGrossAmount" runat="server" text="" />
</div>

<asp:HiddenField ID="hidID" Value="0" runat="server" />
<asp:HiddenField ID="hidIDDetail" Value="0" runat="server" />